package com.eudon.design_pattern.behavioral.iterator;

import java.util.Collection;

/**
 * @author eudon
 * @description 迭代器接口
 * @date 2025/9/3
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */
public interface Iterator<E> {
    boolean hasNext();

    E next();
}
